package com.upay.android.domain.request;

import java.io.Serializable;

import com.upay.android.domain.authentication.AuthenticationToken;

public class ProtectedRequestHeader extends RequestHeader implements Serializable {
	
	/* ---- Constants ---- */
	private static final long serialVersionUID = 201202272149L;

	/* ---- Instance Variables ----*/
	private AuthenticationToken authenticationToken;
	
	/* ---- Constructors ---- */
	
	public ProtectedRequestHeader() {
		super();
	}
	
	public ProtectedRequestHeader(String userName, String token) {
		super();
		this.authenticationToken = new AuthenticationToken(userName, token);
	}
	
	public ProtectedRequestHeader(AuthenticationToken authenticationToken) {
		this.authenticationToken = authenticationToken;
	}
	
	/* ---- Getters and Setters ----*/
	
	public AuthenticationToken getAuthenticationToken() {
		return authenticationToken;
	}

	public void setAuthenticationToken(AuthenticationToken authenticationToken) {
		this.authenticationToken = authenticationToken;
	}

}
